#include "nativeClass.h"

#include "SOApi.h"
#include <thread>

void SOApi::test() {
    // 创建线程，并在线程中执行操作
    std::thread t([&]() {
        SOApi* soApi = new nativeClass();
        soApi->someMethod(42);
        soApi->someMethod(3.14);

        delete soApi;  // 删除对象
    });
    t.join();
}